package config

import "time"

type ConfigStaticParkingStruct struct {
	Id             int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	PushBaseUrl    string    `json:"push_base_url" gorm:"type:varchar(255); COMMENT:'推送url'"`
	AccessKey      string    `json:"access_key" gorm:"type:varchar(255); COMMENT:'key'"`
	AccessPassword string    `json:"access_password" gorm:"type:varchar(255);  COMMENT:'密码'"`
	MuchId         string    `json:"much_id" gorm:"type:varchar(255);  COMMENT:'商户id'"`
	CreatedAt      time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt      time.Time `json:"updated_at" gorm:"type:datetime"`
	Status         int8      `json:"status" gorm:"type:tinyint(1);  COMMENT:'状态 1使用中'"`
}

func (c *ConfigStaticParkingStruct) TableName() string {
	return "config_static_parking"
}
